Fixed GtkNotebook to not consult GtkWidget->requisition directly
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 2 Sep 2010 04:42:50 +0000 (13:42 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 2 Sep 2010 04:50:27 +0000 (13:50 +0900)
commitf2279d5e5130382c78eedb59b5da2e47ebd9885a
tree814fb715d94129c7ffea7eba5c1418b4bb87ba72
parent42a90aa00c9b9c4029777d9d67a25e5144ce4cb6
Fixed GtkNotebook to not consult GtkWidget->requisition directly

GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068.
gtk/gtknotebook.c